package com.chinacoal.hr.levelapi.client.fallback;

import com.chinacoal.hr.levelapi.client.AttendanceInfoClient;
import com.chinacoal.hr.levelapi.client.response.Result;
import com.chinacoal.hr.levelapi.client.response.ResultCode;
import com.chinacoal.hr.levelapi.client.response.ResultGenerator;
import com.chinacoal.hr.levelapi.entity.AttendanceInfo;
import com.chinacoal.hr.levelapi.entity.InfoSyncVO;

/**
 * Created by jinyabin on 2020/10/29.
 */
public class AttendanceInfoClientFallback implements AttendanceInfoClient {
    @Override
    public Result list(Long page, Long limit, String orgCode, String deptCode, String deptName, String empName, String empCode, String confirmStatus, String beginDate, String endDate, String empType, String queryRange) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result exceptions(Long page, Long limit, String yrmonth, String empCode) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result add(AttendanceInfo attendanceInfo) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result update(AttendanceInfo attendanceInfo) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result sync() {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }

    @Override
    public Result syncWithRange(InfoSyncVO infoSyncQueryData) {
        return ResultGenerator.genFailedResult(ResultCode.REQUEST_FAILED);
    }
}
